﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using anks.Components;
using agg.Classes;

namespace agg.Persistence
{
    public abstract class CustomPersistence : Component
    {
        public abstract Media GetMedia(string mediaId);
        public abstract string SaveMedia(Media media);

        public abstract void LoadChannel(PodCastChannel channel);
        public abstract void SaveChannel(PodCastChannel channel);
        public abstract void LoadPost(PodCastPost post);
        public abstract void SavePost(PodCastPost post);
    }
}
